remove duplicates from sorted array google interivew

join shbcf.ru